﻿using OpenIddict.Client;

namespace Devonline.Identity.Gateway;

/// <summary>
/// 网关配置项
/// </summary>
public class GatewaySetting : HttpSetting
{
    /// <summary>
    /// ReverseProxy 配置节点名称
    /// </summary>
    public string ReverseProxy { get; set; } = "ReverseProxy";
    /// <summary>
    /// Jwt token 认证配置
    /// </summary>
    public IdentityBearerOptions? TokenOptions { get; set; }
    /// <summary>
    /// OpenIdConnect 认证配置
    /// </summary>
    public OpenIddictClientRegistration[]? OpenIdConnects { get; set; }
}